//
//  ViewController.swift
//  liaoningdangdai
//
//  Created by 白雨桐 on 2019/11/8.
//  Copyright © 2019 白雨桐. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        

    }
    
    
  override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
      
    
    /// data 数据 - 登陆
    let arr1 = ["shaoyuxi","lndd1601","","","phone","",""]
    
    NetworkTools.share.user_login(code: arr1) { (result, error) in
        if error != nil {
            print(error!)
            return
        }
        
        print(result!)
    }
    
    /*
    /// 用户验证
    let arr2 = ["W000100030000001","4199836652316655616","101"]
    NetworkTools.share.loadcheck_user(code: arr2) { (result, error) in
        if error != nil {
            print(error!)
            return
        }
        
        print(result!)
    }*/
  }


}

